package com.tttshaoqi.server.service;

import com.tttshaoqi.common.result.PageResult;
import com.tttshaoqi.common.result.Result;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tttshaoqi
 * &#064;create 2025-04-23-17:14
 */
@Service
public interface OrderService {
    PageResult page(LocalDateTime beginTime, LocalDateTime endTime, Integer status, Integer number, Integer page, Integer pageSize);

    void update(Integer status, Integer id);

    Result add(Integer id, BigDecimal price, String userName, String userPhone, String userID);
}
